﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MaxLeaf.KH.DataContract;
using System.Xml;
using CommonsLib.Utility;
using System.Web;
using CommonsLib.Settings;
using MaxLeaf.KH.Contract;

namespace MaxLeaf.KH.DALProxy
{
    public class BaseDALProxy 
    {
         

        private WCFClientInfo GetClient()
        {
            return MaxLeaf.KH.Settings.Configs.GetDALProxyInfo(this.GetType().Name);
        }
        public int Access_Mode
        {
            get
            {
                return GetClient().AccessMode;
            }

        }

        public List<WCFConfigInfo> WCF_Configs
        {
            get
            {
                return GetClient().WCF;
            }

        }

    
    }
}
